-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fixed a compilation error in MSVC #2121
Fixed a compilation error in MSVC #2121
Conversation
Thank you Alex! Could you please also fix this in test/src/unit-cbor.cpp? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please run make amalgamate
to also apply the changes to the single header.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me.
Thanks! |
🔖 Release itemThis issue/PR will be part of the next release of the library. This template helps preparing the release notes. Type
Description
|
Related to #1514 and #1531
Failed to build if <Windows.h> is included:
Code:
static_cast<double>(std::numeric_limits<float>::max())
should be:
static_cast<double>((std::numeric_limits<float>::max)())